package com.lei.ssm.service;

import java.util.List;

import com.lei.ssm.entity.UserAuthorityEntity;

public interface UserService {
	boolean add(UserAuthorityEntity user);

	boolean update(UserAuthorityEntity user);

	boolean delete(Long id);

	List<UserAuthorityEntity> listAll();

	UserAuthorityEntity getByName(String codeNumber);
}
